package laboratoryQ.computation;

import laboratoryQ.experiment.settings.BaseExperimentSettings;

public class DefaultRandomFactory implements IRandomFactory {
	private BaseExperimentSettings settings;

	public DefaultRandomFactory(BaseExperimentSettings settings) {
		this.settings = settings;
	}

	@Override
	public IRandom newRandom() {
		return new Random(settings.randomSeed);
	}
}
